

package cn.shengchao.examstar.product.infrastructure.dao.po;

import cn.shengchao.base.enums.DisEnableStatusEnum;
import lombok.Data;
import top.continew.starter.extension.crud.model.entity.BaseDO;

import java.math.BigDecimal;

@Data
public class BaseProduct extends BaseDO {
    //产品
    protected String name;
    //价格
    protected BigDecimal price;
    //折扣价格
    protected BigDecimal discountPrice;
    // 概述
    protected String description;
    protected String specificationType;
    // 详情
    protected String details;
    //封面
    protected String imageUrl;
    //评分
    protected Double score;
    //排序
    protected Integer sort;
    //状态
    protected DisEnableStatusEnum status;
    //虚拟购买人数
    protected Integer virtualPurchaseNum;
    //实际购买人数
    protected Integer actualPurchaseNum;
    //是否虚拟产品
    protected Boolean isVirtual;
    //是否发送物流
    protected Boolean isLogistics;
    //删除
    protected Long deleted;
}
